package com.wanxi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("分类表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassifyDTO {

    @ApiModelProperty(value = "分类编号",required = true)
    private String code;

    @ApiModelProperty(value = "分类名称",required = true)
    private String value;

    @ApiModelProperty(value = "父级编号")
    private String parentCode;

    @ApiModelProperty(value = "父级名称")
    private String parent;

}
